home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re ODF Clock < prev    next >
Encoding:
Internet Message Format  |  1996-07-10  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: ODF Clock
  2. Sent:        7/9/96 1:12 PM
  3. Received:    7/9/96 1:31 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I have an embedding part that works fine with all parts except for ODF 
  9. >Clock.  When I embed the ODF Clock in my part, it does not display in the 
  10. >proper location unless I call myProxy->ChangeFrameShapes after creating a 
  11. >facet for it.  Are you supposed to have to call ChangeFrameShapes at that 
  12. >point, or this a problem with the ODF Clock?  
  13.  
  14. You are not supposed to call ChangeFrameShapes after creating a facets 
  15. for an embedded frame.
  16. Are you sure you are creating the embedded frame with an ODShape zero 
  17. based (top left corner of the bounding box should be (0,0))?
  18.  
  19. >All the sample ODF parts 
  20. >(Draw, Container, Embed) do end up calling ChangeFrameShapes as a side 
  21. >effect of how they work.
  22. >
  23. >Rob Cope
  24. >Eclipse Services
  25.  
  26. I tried reproducing your problem with ODFDraw (ODF 2 version but it 
  27. should be the same as ODF 1) and it doesn't call 
  28. FW_MProxy::ChangeFrameShapes when a stationery is dragged in or when a 
  29. document is opened with embedded frames. 
  30.  
  31. ........................................................................
  32.  Henri Lamiraux                                      lamiraux@apple.com
  33.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  34. ........................................................................
  35.  
  36.  
  37.